<template>
  <el-tabs v-model="activeName" @tab-click="handleClick">
    <el-tab-pane label="场位资料" name="changwei">
      <site-post-form :currentNode="currentNode"/>


    </el-tab-pane>
    <el-tab-pane label="租户资料" name="zuhu">租户资料</el-tab-pane>
  </el-tabs>
</template>
<script>
  import SitePostForm from "./form";
  export default {
    components:{ SitePostForm },
    data() {
      return {
        activeName: 'changwei'
      };
    },
    methods: {
      handleClick(tab, event) {
        console.log(tab, event);
      }
    },
    props: {
      currentNode: {
        type: Object,
        default:()=>{}
      },
    }
  };
</script>
